<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .loading{
            width: 100%;
            height: 100%;
            background-color: #fff;
            position: absolute;
            left: 0;
            top: 0;
            display: flex;
            align-items: center;
            opacity: .65;
        }
        .loading .middle{
            width: 100%;
            height: 30px;
            overflow: hidden;
            display: flex;
            justify-content: center;
        }
        .loading .middle span{
            display: block;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            position: relative;
        }
        .loading .left{
            background-color: #4489FE;
            margin-right: 5px;
            animation: .8s leftAni infinite linear;
            -webkit-animation: .8s leftAni infinite linear;
        }
        .loading .right{
            background-color: #FE7746;
            margin-left: 5px;
            animation: .8s rightAni infinite linear;
            -webkit-animation: .8s rightAni infinite linear;
        }
        @keyframes leftAni{
            0%{
                left:0;
            }
            25%{
                z-index: 1001;
            }
            50%{
                left:20px;
            }
            75%{
                z-index: 1000;
            }
            100%{
                left: 0;
            }
        }
        @-webkit-keyframes leftAni{
            0%{
                left:0;
            }
            25%{
                z-index: 1001;
            }
            50%{
                left:20px;
            }
            75%{
                z-index: 1000;
            }
            100%{
                left: 0;
            }
        }
        @keyframes rightAni{
            0%{
                left:0;
            }
            25%{
                z-index: 1000;
            }
            50%{
                left:-20px;
            }
            75%{
                z-index: 1001;
            }
            100%{
                left: 0;
            }
        }
        @-webkit-keyframes rightAni{
            0%{
                left:0;
            }
            25%{
                z-index: 1000;
            }
            50%{
                left:-20px;
            }
            75%{
                z-index: 1001;
            }
            100%{
                left: 0;
            }
        }
        .list{
            width: 100%;
            height: 500px;
            border: 1px solid red;
            position: relative;
        }
        .list .item{
            width: 100%;
            height: 200px;
            border: 1px solid blue;
        }
    </style>
</head>
<body>
    <!-- <div class="loading">
        <div class="middle">
            <span class="left"></span>
            <span class="right"></span>
        </div>
    </div> -->
    <div class="list">

        <div class="loading">
            <div class="middle">
                <span class="left"></span>
                <span class="right"></span>
            </div>
        </div> 
        
        <div class="item">你的空间阿塞拜疆凯宾斯基卡框架的撒接口</div>
        <div class="item">njkfdskfds h</div>
    </div>
</body>
</html>